package edu.tgc.web.controller;

import org.springframework.web.bind.WebDataBinder;
import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.InitBinder;

@ControllerAdvice
public class ExceptionHandlerController {

    /*
     * @ExceptionHandler(value = { AuthenticationException.class }) public
     * Object accessDeniedException(Exception exception, HttpServletRequest
     * request, HttpServletResponse response) {
     * System.out.println(exception.getMessage() + "........"); return "test"; }
     */

    @InitBinder
    public void initBinder(WebDataBinder binder) {

    }

}
